package com.shaomengjie.smjmvp.retrofit;

import com.shaomengjie.smjmvp.bean.UserBean;
import com.shaomengjie.smjmvp.retrofit.servers.servercore.Servers;

import rx.Subscriber;

/**
 * Created by shaomengjie on 2017/4/7.
 * pdsshaomengjie@live.com
 */

public class LoginServers extends Servers{
    public static void requestLogion(String username, String password, Subscriber<UserBean> subscriber){
        setSubscribe(service.requestLogin(username,password),subscriber);
    }
}
